<?php
require '../../packages/connect_database.php';
mysql_select_db('user');
$voipId = $_GET['voipId'];
$query = mysql_query("SELECT name FROM user WHERE voipAccount = '{$voipId}'");
$result = mysql_fetch_row($query);
echo $result[0];
